package cc.linker.steplink.crm.merchant.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WxDao {
    String getToken(String orgId);

    String getTokenByAppId(@Param("appId") String appId);

    Map<String, Object> getIncomingByReceiveUser(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getPayCountByReceiveUser(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getOverViewByOrgId(String orgId);

    String getActivityNowByOrgId(String orgId);

    Integer countLabelByOrgId(String orgId);

    Integer countLevelByOrgId(String orgId);

    Integer countActiveByOrgId(String orgId);

    Integer countGroupByOrgId(String orgId);

    Integer countCertificationByCustomerId(String customerId);

    Integer countCertificationByOrgId(String orgId);

    Integer countPaymentByOrgId(String orgId);

    Integer countGoodsByCustomerId(String customerId);

    Integer countGoodsByOrgId(String orgId);

    Map<String, Object> countMerchantInfoByCustomerId(String customerId);

    Map<String, Object> countMerchantInfoByOrgId(String orgId);

    Integer countDeliveredByCustomerId(String customerId);

    Integer countDeliveredByOrgId(String orgId);

    List<Map<String, Object>> listDynamicByOrgId(String orgId);

    Map<String, Object> getOverViewByOrgIdAndCustomerId(@Param("orgId") String orgId, @Param("customerId") String customerId);

    Integer countRefundByCustomerId(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getCoinIncomingByReceiveUser(String customerId);

    Integer countYesterdayRefundByCustomerId(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getIncomingEnrollByReceiveUser(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getIncomingKtByReceiveUser(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getPayCountEnrollByReceiveUser(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getPayCountKtByReceiveUser(@Param("customerId") String customerId, @Param("orgId") String orgId);

    Map<String, Object> getPayCountVipByReceiveUser(@Param("s") String s, @Param("orgId") String orgId);

    Map<String, Object> getIncomingVipByReceiveUser(@Param("s") String s, @Param("orgId") String orgId);

    List<Map<String,Object>> getWxPublistList();

    Map<String, Object> getPayCountFormByReceiveUser(@Param("customerId") String customerId, @Param("orgId") String orgId);
}
